package com.love.cloud.common.excel.callback;

import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.write.metadata.WriteSheet;

/**
 * 重复写入回调
 * @author hongdongqu
 * @version 1.0
 */
public interface RepeatedWriteCallBack {
    /**
     * 创建默认的sheet
     * @return
     */
    WriteSheet createDefaultSheet();

    /**
     * excel写入处理方法
     * @param index
     * @param excelWriter
     * @param writeSheet
     */
    void excelWriteHandler(int index, ExcelWriter excelWriter, WriteSheet writeSheet);
}
